package com.example.chinesenation.Exception;

import com.example.chinesenation.Response.ResultType;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;

/**
 * @author sakuraFallingDown
 * @version 1.0
 * @date 2021/1/11 15:17
 */
@AllArgsConstructor
@NoArgsConstructor
public class AuthenException extends RuntimeException{//自定义异常
    private ResultType resultType;

    public ResultType getResultType() {
        return resultType;
    }

    public void setResultType(ResultType resultType) {
        this.resultType = resultType;
    }
}
